package rs.etf.es.visualization;

import java.awt.geom.Point2D;
import java.util.Map;

import org.apache.commons.collections15.Transformer;

import edu.uci.ics.jung.algorithms.layout.StaticLayout;
import edu.uci.ics.jung.graph.Graph;

public class StaticLayoutWithPositions<V, E> extends StaticLayout<V, E> {

    public StaticLayoutWithPositions(Graph<V, E> graph, Transformer<V, Point2D> initializer) {
	super(graph, initializer);
    }

    public Map<V, Point2D> getAllPositions() {
	return locations;
    }

}
